package com.yan.bean;

import java.io.Serializable;

public class DeptTest implements Serializable {

    private Long deptId;

    private Long parentId;

    private String name;

    private Integer orderNum;

    private Byte delFlag;

    private static final long serialVersionUID = 1L;

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Byte getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Byte delFlag) {
        this.delFlag = delFlag;
    }


    @Override
    public String toString() {
        return "DeptTest{" +
                "delFlag=" + delFlag +
                ", deptId=" + deptId +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", orderNum=" + orderNum +
                '}';
    }
}